package com.zy.experience_system.repository;

import com.zy.experience_system.entity.TeachInformation;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface TeachInformationRepository extends JpaRepository<TeachInformation,Integer> {
    TeachInformation findByTeachId(String teachId);
    List<TeachInformation> findAllByTeachId(String teachId);
}
